#include <stdio.h>
#include "directls.h"

int main(int argc, char *argv[])
{
  Directory **Listing;
  int i, nb_fic =  directls(argv[1], Listing);

  for (i = 0; i < nb_fic; i++) 
    puts(Listing[i]->nom);

  printf("%d fichiers\n", nb_fic);
  return 0;
}
